<template>
  <div class="welcome">
    <template>
<el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="date"
      label="日期"
      width="180">
    </el-table-column>
    <el-table-column
      prop="name"
      label="姓名"
      width="180">
    </el-table-column>
    <el-table-column
      prop="address"
      label="地址">
    </el-table-column>
  </el-table>
    </template>

  </div>
</template>
<script>
  import { getLoginLog } from "@/api"
  export default {
   data() {
      return {
        tableData: [{
          date:new Date().toLocaleTimeString(),
          name: '咕噜咕噜',
          address: '淮南市凤台县殷岗社区'
        }, {
          date:new Date().toLocaleTimeString(),
          name: '啦啦啦啦',
          address: '淮南市凤台县殷岗社区'
        }, {
          date:new Date().toLocaleTimeString(),
          name: '嘻嘻嘻嘻',
          address: '淮南市凤台县殷岗社区'
        }, {
          date:new Date().toLocaleTimeString(),
          name: '秃头宝贝',
          address: '淮南市凤台县殷岗社区'
        }]
      }
    }
  }
</script>
<style>
  .welcome {
    margin-top: 20px;
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
  }
</style>